package com.geekaca.d2.homework2;

public class Work2 {
    public static void main(String[] args) {
        double redGirlMoney = 21;
        double greenGirlMoney = 24;

        double redNew = redGirlMoney * 2 + 3;
        double greenNew = greenGirlMoney * 2;
        System.out.println(redNew);
        System.out.println(greenNew);

        String result = redNew == greenNew ? "红茶妹妹" +
                "与绿茶妹妹的钱一样多" : "红茶妹妹与绿茶妹妹的钱不一样多";
        System.out.println(result);
    }
}
